<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<table>
	<tr>
		<th class="first">Voornaam</th>
		<th>Achternaam</th>
		<th>Email</th>
		<th>Adres</th>
		<th>Taal</th>
	</tr>
	<c:forEach var="userItem" items="${users}" varStatus="status">
		<tr class="${status.index % 2 == 0 ? 'even' : 'oneven'}">
			<td class="first"><a href="<c:url value="${request.contextPath}/admin/user?id=${userItem.id}" />">${userItem.firstname}</a></td>
			<td><a href="<c:url value="${request.contextPath}/admin/user?id=${userItem.id}" />">${userItem.name}</a></td>
			<td><a href="<c:url value="${request.contextPath}/admin/user?id=${userItem.id}" />">${userItem.email}</a></td>
			<td><a href="<c:url value="${request.contextPath}/admin/user?id=${userItem.id}" />">${userItem.address}</a></td>
			<td><a href="<c:url value="${request.contextPath}/admin/user?id=${userItem.id}" />">${userItem.language}</a></td>
		</tr>
	</c:forEach>
</table>